Compute the mean of this RDDs elements.

29

sc.parallelize([1, 2, 3]).mean()
# 2.0

Comments

Submit
0 Comments